package com.pjhouse.core.user.persistence;

import java.util.List;

import com.pjhouse.core.user.domain.UserDTO;

public interface UserRepository {

	long insert(UserDTO user);
	
	void update(UserDTO user);
	
	UserDTO queryById(long id);
	
	UserDTO queryByPhone(String phone);
	
	List<UserDTO> queryAll();
}
